<?php
/**
 *
 * PHP versions 4 and 5
 *
 * CakePHP(tm) : Rapid Development Framework (http://cakephp.org)
 * Copyright 2005-2010, Cake Software Foundation, Inc. (http://cakefoundation.org)
 *
 * Licensed under The MIT License
 * Redistributions of files must retain the above copyright notice.
 *
 * @copyright     Copyright 2005-2010, Cake Software Foundation, Inc. (http://cakefoundation.org)
 * @link          http://cakephp.org CakePHP(tm) Project
 * @package       cake
 * @subpackage    cake.cake.libs.view.templates.layouts
 * @since         CakePHP(tm) v 0.10.0.1076
 * @license       MIT License (http://www.opensource.org/licenses/mit-license.php)
 */
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
	<?php echo $this->Html->charset(); ?>
	<title>
		<?php __('ANA Volunteer Management System'); ?>
		<?php echo $title_for_layout; ?>
	</title>
    
	<?php
		echo $this->Html->meta('icon');
		//echo $this->Html->css('cake.generic');
        //echo $this->Html->script('jquery.js');
		echo $scripts_for_layout;


        //css files

        echo $this->Html->css('reset');
        echo $this->Html->css('grid');
        echo $this->Html->css('style');
        echo $this->Html->css('messages');
        echo $this->Html->css('forms');
        echo $this->Html->css('fullcalendar');
        echo $this->Html->css('custom');
        echo $this->Html->css('tables');
        echo $this->Html->css('jquery-ui-1.8.12.custom');
        echo $this->Html->css('ui-timepicker');

        //scripts
        echo $this->Html->script('jquery.js');
        echo $this->Html->script('jquery-1.4.4.min.js');
        echo $this->Html->script('jquery.tools.min.js');
        echo $this->Html->script('global.js');
        echo $this->Html->script('fullcalendar.js');
        echo $this->Html->script('gcal.js');
        echo $this->Html->script('jquery.ui.min.js');
        echo $this->Html->script('ui.timepicker.js');
        //echo $this->Html->script('jquery-ui-1.8.9.custom.min.js');


        // force browsers to like html 5

	?>
        <!--[if lt IE 8]><?php echo $this->Html->css('ie', array('media' => 'print'));?><![endif]-->
        <!--[if lt IE 9]>
        <?php
        echo $this->Html->script('html5.js');
        echo $this->Html->script('PIE.js');
        echo $this->Html->script('IE9.js');
        echo $this->Html->script('ie.js');
        ?>
    <![endif]-->
</head>

<body>
    <div id="wrapper">

        <!-- header.ctp -->
        <?php echo $this->element('header'); ?>
         <!-- end header.ctp -->
        <section>

            <div class="container_8 clearfix">

                <!-- Sidebar -->
                <?php echo $this->element('sidebar'); ?>
                <!-- Sidebar End -->


                <!-- Main Section -->

                <section class="main-section grid_7">

                    <div class="main-content">
                        
                        <?php echo $this->Session->flash();
                        echo $this->Session->flash('email');
                        echo $this->Session->flash('auth');?>

			            <?php echo $content_for_layout; ?>
                        
                    </div>

                </section>

                <!-- Main Section End -->

            </div>
            <div id="push"></div>
        </section>
    </div>

    <!-- Footer Begin -->
        <?php echo $this->element('footer'); ?>
        <?php echo $this->element('sql_dump'); ?>
    <!-- Footer End -->
</body>
</html>